Reduce block change packets
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
0d1a0390fd
Commit
cc8b7bd96e
@ -117,6 +117,8 @@ public class EventRecordListener extends BasicListener {
|
|||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||||
public void onBlockPhysics(BlockPhysicsEvent e){
|
public void onBlockPhysics(BlockPhysicsEvent e){
|
||||||
|
if(e.getBlock() != e.getSourceBlock())
|
||||||
|
return;
|
||||||
RecordSystem.blockChange(e.getBlock());
|
RecordSystem.blockChange(e.getBlock());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ public class SpectateConnection extends Recorder{
|
|||||||
|
|
||||||
private Socket socket;
|
private Socket socket;
|
||||||
private DataOutputStream outputStream;
|
private DataOutputStream outputStream;
|
||||||
private PipedInputStream inputStream;
|
|
||||||
|
|
||||||
SpectateConnection(){
|
SpectateConnection(){
|
||||||
super();
|
super();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren