Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/docs/en/guides/ecs/block-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ return BlockTickStrategy.CONTINUE;

```java
public class ExamplePlugin extends JavaPlugin {
protected static ExamplePlugin instance;
private static ExamplePlugin instance;
private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();
private ComponentType exampleBlockComponentType;
private ComponentType<ChunkStore, ExampleBlock> exampleBlockComponentType;

public static ExamplePlugin get() {
return instance;
Expand All @@ -205,7 +205,7 @@ public class ExamplePlugin extends JavaPlugin {
this.getChunkStoreRegistry().registerSystem(new ExampleInitializer());
}

public ComponentType getExampleBlockComponentType() {
public ComponentType<ChunkStore, ExampleBlock> getExampleBlockComponentType() {
return this.exampleBlockComponentType;
}
}
Expand Down
Loading