Separated the Classic Datapack to it's own folder.
This commit is contained in:
@@ -79,7 +79,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
{
|
||||
if (!st.hasMoreTokens())
|
||||
{
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/admin/punishment.htm");
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "html/admin/punishment.htm");
|
||||
if (content != null)
|
||||
{
|
||||
content = content.replaceAll("%punishments%", Util.implode(PunishmentType.values(), ";"));
|
||||
@@ -88,7 +88,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": data/html/admin/punishment.htm is missing");
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": html/admin/punishment.htm is missing");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -120,7 +120,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
key = findCharId(key);
|
||||
}
|
||||
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/admin/punishment-info.htm");
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "html/admin/punishment-info.htm");
|
||||
if (content != null)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
@@ -151,7 +151,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": data/html/admin/punishment-info.htm is missing");
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": html/admin/punishment-info.htm is missing");
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -176,7 +176,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
{
|
||||
target = activeChar.getTarget().getActingPlayer();
|
||||
}
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/admin/punishment-player.htm");
|
||||
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "html/admin/punishment-player.htm");
|
||||
if (content != null)
|
||||
{
|
||||
content = content.replaceAll("%player_name%", target.getName());
|
||||
@@ -188,7 +188,7 @@ public class AdminPunishment implements IAdminCommandHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": data/html/admin/punishment-player.htm is missing");
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": html/admin/punishment-player.htm is missing");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user