3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

Fixed ContainerBlocks spilling items when edited.

Fixed ContainerBlocks spilling items when edited, which caused an Item Duplication Exploit.

http://youtrack.sk89q.com/issue/WORLDEDIT-2381 - [Now Resolved]
Dieser Commit ist enthalten in:
OdiumxXx 2012-12-08 21:03:45 +10:00 committet von Wizjany
Ursprung e5d34a9d2c
Commit 0f77cb357b

Datei anzeigen

@ -194,7 +194,7 @@ public class EditSession {
final int existing = world.getBlockType(pt);
// Clear the container block so that it doesn't drop items
if (BlockType.isContainerBlock(existing) && blockBag == null) {
if (BlockType.isContainerBlock(existing)) {
world.clearContainerBlockContents(pt);
// Ice turns until water so this has to be done first
} else if (existing == BlockID.ICE) {