diff --git a/Minecraft.World/Entities/Entity.h b/Minecraft.World/Entities/Entity.h index e7aede835..ea827e28f 100644 --- a/Minecraft.World/Entities/Entity.h +++ b/Minecraft.World/Entities/Entity.h @@ -36,7 +36,7 @@ class Entity : public std::enable_shared_from_this { friend class Gui; // 4J Stu - Added to be able to access the shared flag // functions and constants, without making them publicly // available to everything - +public: // 4J-PB - added to replace (e instanceof Type), avoiding dynamic casts virtual eINSTANCEOF GetType() = 0;