Rename Geyser-Bukkit to Geyser-Spigot

This commit is contained in:
DoctorMacc 2020-06-21 16:27:42 -04:00
commit 63244ade53
16 changed files with 74 additions and 66 deletions

View file

@ -47,7 +47,7 @@ public class JavaBlockChangeTranslator extends PacketTranslator<ServerBlockChang
Position pos = packet.getRecord().getPosition();
boolean updatePlacement = !(session.getConnector().getConfig().isCacheChunks() && session.getConnector().getWorldManager().getBlockAt(session, pos.getX(), pos.getY(), pos.getZ()) == packet.getRecord().getBlock());
ChunkUtils.updateBlock(session, packet.getRecord().getBlock(), packet.getRecord().getPosition());
if (updatePlacement && session.getConnector().getPlatformType() != PlatformType.BUKKIT) {
if (updatePlacement && session.getConnector().getPlatformType() != PlatformType.SPIGOT) {
this.checkPlace(session, packet);
}
this.checkInteract(session, packet);