
always ignored settings disable_creature_pressureplate_stone
nakanotti opened this issue ยท 0 comments
What steps will reproduce the problem?
- put stone pressure plate and red stone dust
- mob steps on
- Stone pressure plates have their events canceled regardless of whether disable_creature_pressureplate_stone is true or false.
What is the expected output?
If disable_creature_pressureplate_stone: 'false', then fire event.
Towny version
1.100.0.14
Server version
1.20.1
Please use Pastebin.com to link the following files
if (TownySettings.isSwitchMaterial(block.getType(), block.getLocation())
|| (TownySettings.isCreatureTriggeringPressurePlateDisabled() && block.getType() == Material.STONE_PRESSURE_PLATE)) {
Always true because NON_WOODEN_PRESSURE_PLATES contains stone pressure plates.