Advertisement
jayhillx

onPlayerDeath 03

Jun 23rd, 2021
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. if (event.getSource() instanceof ModDamageSource) {
  2. serverPlayerEntity.removePotionEffect(LifeBindingPotion.LIFE_DAMAGING_EFFECT.get());
  3. BoundPlayersList.removeUsername(bound.getUUID());
  4.  
  5. } else if (player.getServer().getPlayerList().getPlayerByUUID(bound.getUUID()) == null) {
  6. BoundPlayersList.setUsername(bound.getUUID(), bound.getName());
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement