mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-16 07:35:23 +01:00
Workaround books no longer sending change block for lecterns.
Fixes #2124.
This commit is contained in:
parent
70d225ef2f
commit
2ea50689b9
@ -1495,6 +1495,9 @@ public static boolean isToolApplicable(Material toolMaterial, Material targetMat
|
||||
case SUSPICIOUS_GRAVEL, SUSPICIOUS_SAND -> true;
|
||||
default -> false;
|
||||
};
|
||||
case WRITTEN_BOOK:
|
||||
case WRITABLE_BOOK:
|
||||
return targetMaterial == Material.LECTERN;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user