Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Don't send bad packets
Dieser Commit ist enthalten in:
Ursprung
3ee920f9e6
Commit
b88d7b3e60
@ -353,8 +353,8 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
|||||||
if (block instanceof BaseBlock && ((BaseBlock) block).hasNbtData()) {
|
if (block instanceof BaseBlock && ((BaseBlock) block).hasNbtData()) {
|
||||||
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
|
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
|
||||||
if (adapter != null) {
|
if (adapter != null) {
|
||||||
adapter.sendFakeNBT(player, pos, ((BaseBlock) block).getNbtData());
|
|
||||||
if (block.getBlockType() == BlockTypes.STRUCTURE_BLOCK) {
|
if (block.getBlockType() == BlockTypes.STRUCTURE_BLOCK) {
|
||||||
|
adapter.sendFakeNBT(player, pos, ((BaseBlock) block).getNbtData());
|
||||||
adapter.sendFakeOP(player);
|
adapter.sendFakeOP(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren