GhostFix
GhostFix
GhostFix allows you to teleport to yourself. It is a workaround for a minecraft/bukkit bug, that makes players lose position update sync and stand still.Commands
Teleport to yourself:/ghostfix
References
Requested by KillerAnt9000 Mentioned by unforgiven5232 and Mavreck (Mav) (latter on external site)Source
package me.speed.GhostFix;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.plugin.java.JavaPlugin;
public class GhostFix extends JavaPlugin{
public boolean onCommand(CommandSender sender, Command cmd, String label, String args[]) {
if((cmd.getName().equalsIgnoreCase("GhostFix")) && (sender instanceof Player)) {
((Player) sender).teleport(((Player) sender).getLocation(), TeleportCause.COMMAND);
}
return false;
}
}
-
View User Profile
-
Send Message
Posted Jun 15, 2013@S1lverK3y Nice plugin. Its really helpful :D
P.S. I almost broke my computer screen because of that bug...
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Nathan136
http://dev.bukkit.org/bukkit-mods/ghostfix/files/
-
View User Profile
-
Send Message
Posted Jun 15, 2013How do you download it Plz Reply