🐛 Fixed viewing issue
This commit is contained in:
parent
bfaa99e5dd
commit
a4f60fd01e
19 changed files with 71 additions and 74 deletions
|
@ -55,7 +55,7 @@ public class PacketListener_v1_12_R1 extends PacketListener {
|
|||
if (id < 0) {
|
||||
//It's one of our maps, invert ID and let through!
|
||||
int newId = -id;
|
||||
setField(packet, "a", newId); //mapId
|
||||
setField(packetPlayOutMap, "a", newId); //mapId
|
||||
} else {
|
||||
boolean async = !plugin.getServer().isPrimaryThread();
|
||||
MapCancelEvent event = new MapCancelEvent(p, id, async);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue