diff --git a/content/docs/en/guides/ecs/block-components.mdx b/content/docs/en/guides/ecs/block-components.mdx index 41f1da31..7b4f0821 100644 --- a/content/docs/en/guides/ecs/block-components.mdx +++ b/content/docs/en/guides/ecs/block-components.mdx @@ -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 exampleBlockComponentType; public static ExamplePlugin get() { return instance; @@ -205,7 +205,7 @@ public class ExamplePlugin extends JavaPlugin { this.getChunkStoreRegistry().registerSystem(new ExampleInitializer()); } - public ComponentType getExampleBlockComponentType() { + public ComponentType getExampleBlockComponentType() { return this.exampleBlockComponentType; } }