Fix indestructable light blocks (#11275)

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
This commit is contained in:
Abel 2024-08-16 22:13:00 +02:00
parent 42dae8d83e
commit c1b2a34de3

View file

@ -50,7 +50,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ public final boolean isDestroyable() {
+ return io.papermc.paper.configuration.GlobalConfiguration.get().unsupportedSettings.allowPermanentBlockBreakExploits ||
+ this != Blocks.BARRIER &&
+ this != Blocks.LIGHT &&
+ this != Blocks.BEDROCK &&
+ this != Blocks.END_PORTAL_FRAME &&
+ this != Blocks.END_PORTAL &&