RecordSystem (Beta) #199
@ -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