mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
more remails of unneeded fall damage stuff
This commit is contained in:
parent
318d35fd11
commit
541a7f11e9
@ -8,7 +8,6 @@ import org.bukkit.GameMode;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
@ -88,10 +87,6 @@ public class Listeners implements Listener {
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
||||
CraftPlayer cPlayer = (CraftPlayer) player;
|
||||
|
||||
cPlayer.isOnGround();
|
||||
|
||||
Location fromloc = event.getFrom();
|
||||
Location loc = event.getTo();
|
||||
// Potentially fixes that stupid error cauzed by a bukkit update.
|
||||
|
Loading…
Reference in New Issue
Block a user