Rename Geyser-Bukkit to Geyser-Spigot

Despite the Bukkit suffix being correct in terms of the API, the name causes some people to download CraftBukkit instead of Spigot or Paper. All internal references to Bukkit have been renamed to Spigot.
This commit is contained in:
DoctorMacc 2020-05-26 10:05:25 -04:00
parent 14fcd77925
commit 2dc755ca98
14 changed files with 58 additions and 60 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()).getId() == packet.getRecord().getBlock().getId());
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);