mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Fixed bug in /halt
This commit is contained in:
parent
6d9e9406ec
commit
f21e50e002
@ -1,5 +1,5 @@
|
|||||||
#Wed, 10 Jul 2013 23:30:57 +0200
|
#Wed, 10 Jul 2013 23:43:28 +0200
|
||||||
|
|
||||||
program.VERSION=2.21
|
program.VERSION=2.21
|
||||||
program.BUILDNUM=294
|
program.BUILDNUM=297
|
||||||
program.BUILDDATE=07/10/2013 11\:30 PM
|
program.BUILDDATE=07/10/2013 11\:43 PM
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Wed Jul 10 23:30:57 CEST 2013
|
#Wed Jul 10 23:43:28 CEST 2013
|
||||||
build.number=295
|
build.number=298
|
||||||
|
@ -85,7 +85,6 @@ public class Command_halt extends TFM_Command
|
|||||||
{
|
{
|
||||||
sender.sendMessage(ex.getMessage());
|
sender.sendMessage(ex.getMessage());
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -415,7 +415,6 @@ public class TFM_PlayerData
|
|||||||
stopOrbiting();
|
stopOrbiting();
|
||||||
setFrozen(true);
|
setFrozen(true);
|
||||||
setMuted(true);
|
setMuted(true);
|
||||||
setHalted(true);
|
|
||||||
|
|
||||||
player.sendMessage(ChatColor.GRAY + "You have been halted, don't move!");
|
player.sendMessage(ChatColor.GRAY + "You have been halted, don't move!");
|
||||||
}
|
}
|
||||||
@ -425,7 +424,6 @@ public class TFM_PlayerData
|
|||||||
player.setGameMode(GameMode.CREATIVE);
|
player.setGameMode(GameMode.CREATIVE);
|
||||||
setFrozen(false);
|
setFrozen(false);
|
||||||
setMuted(false);
|
setMuted(false);
|
||||||
setHalted(false);
|
|
||||||
|
|
||||||
player.sendMessage(ChatColor.GRAY + "You are no longer halted.");
|
player.sendMessage(ChatColor.GRAY + "You are no longer halted.");
|
||||||
}
|
}
|
||||||
|
@ -188,7 +188,7 @@ public class TotalFreedomMod extends JavaPlugin
|
|||||||
}
|
}
|
||||||
catch (Throwable ex)
|
catch (Throwable ex)
|
||||||
{
|
{
|
||||||
sender.sendMessage(ChatColor.RED + "Command Error: " + ex.getMessage());
|
TFM_Log.severe("Command Error: " + commandLabel + "\n" + ExceptionUtils.getStackTrace(ex));
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatcher = null;
|
dispatcher = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user