Merge pull request 'Fix player death and resource pack' (#257) from fix_event into master
Reviewed-on: #257
Dieser Commit ist enthalten in:
Commit
c5e593b47b
@ -74,6 +74,7 @@ public class FightSystem extends JavaPlugin {
|
|||||||
new DenyWorldInteraction();
|
new DenyWorldInteraction();
|
||||||
new EventJoin();
|
new EventJoin();
|
||||||
new Recording();
|
new Recording();
|
||||||
|
new ResourcePack();
|
||||||
new Check();
|
new Check();
|
||||||
new Shutdown();
|
new Shutdown();
|
||||||
new SetupQuit();
|
new SetupQuit();
|
||||||
|
@ -81,7 +81,7 @@ public class Recording implements Listener {
|
|||||||
RecordSystem.entityMoves(e.getPlayer());
|
RecordSystem.entityMoves(e.getPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
||||||
public void onPlayerDeath(PlayerDeathEvent e){
|
public void onPlayerDeath(PlayerDeathEvent e){
|
||||||
if(isNotSent(e.getEntity()))
|
if(isNotSent(e.getEntity()))
|
||||||
return;
|
return;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren