Archiviert
13
0

Pass on the "filtered" parameter in sendServerPacket. FIXES Ticket-111

Looks like our good ol' friend copy-paste betrayed us yet again. I need 
more unit tests.
Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-07-26 03:55:36 +02:00
Ursprung 260f108749
Commit 5584357fee
2 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -624,7 +624,7 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
@Override
public void sendServerPacket(Player reciever, PacketContainer packet, boolean filters) throws InvocationTargetException {
sendServerPacket(reciever, packet, null, true);
sendServerPacket(reciever, packet, null, filters);
}
@Override
@ -655,7 +655,7 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
@Override
public void recieveClientPacket(Player sender, PacketContainer packet, boolean filters) throws IllegalAccessException, InvocationTargetException {
recieveClientPacket(sender, packet, null, true);
recieveClientPacket(sender, packet, null, filters);
}
@Override

Datei anzeigen

@ -184,4 +184,9 @@ public class VolatileField {
protected void finalize() throws Throwable {
revertValue();
}
@Override
public String toString() {
return "VolatileField [field=" + field + ", container=" + container + ", previous=" + previous + ", current=" + current + "]";
}
}