@@ -5,8 +5,8 @@
|
||||
|
||||
if (!raid.isStarted()) {
|
||||
+ /* CraftBukkit - moved down
|
||||
if (!this.raids.containsKey(raid.getId())) {
|
||||
this.raids.put(raid.getId(), raid);
|
||||
if (!this.raidMap.containsKey(raid.getId())) {
|
||||
this.raidMap.put(raid.getId(), raid);
|
||||
}
|
||||
+ */
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
+ // CraftBukkit end
|
||||
} else {
|
||||
entityplayer.removeEffect(MobEffects.BAD_OMEN);
|
||||
entityplayer.playerConnection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, (byte) 43));
|
||||
entityplayer.connection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, (byte) 43));
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
@@ -28,10 +28,10 @@
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ if (!this.raids.containsKey(raid.getId())) {
|
||||
+ this.raids.put(raid.getId(), raid);
|
||||
+ if (!this.raidMap.containsKey(raid.getId())) {
|
||||
+ this.raidMap.put(raid.getId(), raid);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
raid.a((EntityHuman) entityplayer);
|
||||
entityplayer.playerConnection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, (byte) 43));
|
||||
entityplayer.connection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, (byte) 43));
|
||||
if (!raid.c()) {
|
||||
|
||||
Reference in New Issue
Block a user