more remails of unneeded fall damage stuff

This commit is contained in:
Alastair 2016-03-29 00:23:22 +01:00
parent 318d35fd11
commit 541a7f11e9

View File

@ -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.