Topic category: Help with MCreator modding
So I have a few events that are supposed to change the player's gamemode but when I try to compile my mod it just spits out this error:
>C:\Pylo\MCreator156\forge\build\sources\java\mod\mcreator\mcreator_iceCreamBlock.java:174: error: cannot find symbol
>if(entity instanceof EntityPlayer)((EntityPlayer)entity).setGameType(EnumGameType.CREATIVE);
> symbol: variable EnumGameType
> location: class BlockIceCreamBlock
Its interpreting EnumGameType as a variable!?!?!?! That makes no sense at all.