Fixed #6930 (probably)
This commit is contained in:
@@ -259,7 +259,7 @@ public class Unloader extends Block{
|
|||||||
public void read(Reads read, byte revision){
|
public void read(Reads read, byte revision){
|
||||||
super.read(read, revision);
|
super.read(read, revision);
|
||||||
int id = revision == 1 ? read.s() : read.b();
|
int id = revision == 1 ? read.s() : read.b();
|
||||||
sortItem = id == -1 ? null : content.items().get(id);
|
sortItem = id == -1 ? null : content.item(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -784,6 +784,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
|
|
||||||
if(info != null){
|
if(info != null){
|
||||||
info.lastKicked = 0;
|
info.lastKicked = 0;
|
||||||
|
netServer.admins.kickedIPs.remove(info.lastIP);
|
||||||
info("Pardoned player: @", info.plainLastName());
|
info("Pardoned player: @", info.plainLastName());
|
||||||
}else{
|
}else{
|
||||||
err("That ID can't be found.");
|
err("That ID can't be found.");
|
||||||
|
|||||||
Reference in New Issue
Block a user