mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-25 20:15:58 +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.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
||||||
@ -88,10 +87,6 @@ public class Listeners implements Listener {
|
|||||||
|
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
|
||||||
CraftPlayer cPlayer = (CraftPlayer) player;
|
|
||||||
|
|
||||||
cPlayer.isOnGround();
|
|
||||||
|
|
||||||
Location fromloc = event.getFrom();
|
Location fromloc = event.getFrom();
|
||||||
Location loc = event.getTo();
|
Location loc = event.getTo();
|
||||||
// Potentially fixes that stupid error cauzed by a bukkit update.
|
// Potentially fixes that stupid error cauzed by a bukkit update.
|
||||||
|
Loading…
Reference in New Issue
Block a user