mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-02-11 19:29:12 +00:00
Fixed bug in /halt
This commit is contained in:
parent
6d9e9406ec
commit
f21e50e002
5 changed files with 6 additions and 9 deletions
|
@ -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.BUILDNUM=294
|
||||
program.BUILDDATE=07/10/2013 11\:30 PM
|
||||
program.BUILDNUM=297
|
||||
program.BUILDDATE=07/10/2013 11\:43 PM
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#Build Number for ANT. Do not edit!
|
||||
#Wed Jul 10 23:30:57 CEST 2013
|
||||
build.number=295
|
||||
#Wed Jul 10 23:43:28 CEST 2013
|
||||
build.number=298
|
||||
|
|
|
@ -85,7 +85,6 @@ public class Command_halt extends TFM_Command
|
|||
{
|
||||
sender.sendMessage(ex.getMessage());
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -415,7 +415,6 @@ public class TFM_PlayerData
|
|||
stopOrbiting();
|
||||
setFrozen(true);
|
||||
setMuted(true);
|
||||
setHalted(true);
|
||||
|
||||
player.sendMessage(ChatColor.GRAY + "You have been halted, don't move!");
|
||||
}
|
||||
|
@ -425,7 +424,6 @@ public class TFM_PlayerData
|
|||
player.setGameMode(GameMode.CREATIVE);
|
||||
setFrozen(false);
|
||||
setMuted(false);
|
||||
setHalted(false);
|
||||
|
||||
player.sendMessage(ChatColor.GRAY + "You are no longer halted.");
|
||||
}
|
||||
|
|
|
@ -188,7 +188,7 @@ public class TotalFreedomMod extends JavaPlugin
|
|||
}
|
||||
catch (Throwable ex)
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "Command Error: " + ex.getMessage());
|
||||
TFM_Log.severe("Command Error: " + commandLabel + "\n" + ExceptionUtils.getStackTrace(ex));
|
||||
}
|
||||
|
||||
dispatcher = null;
|
||||
|
|
Loading…
Reference in a new issue