mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Don't send bad packets
This commit is contained in:
parent
3ee920f9e6
commit
b88d7b3e60
@ -353,8 +353,8 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
||||
if (block instanceof BaseBlock && ((BaseBlock) block).hasNbtData()) {
|
||||
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
|
||||
if (adapter != null) {
|
||||
adapter.sendFakeNBT(player, pos, ((BaseBlock) block).getNbtData());
|
||||
if (block.getBlockType() == BlockTypes.STRUCTURE_BLOCK) {
|
||||
adapter.sendFakeNBT(player, pos, ((BaseBlock) block).getNbtData());
|
||||
adapter.sendFakeOP(player);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user