Treat serverName jar as craftbukkit jar
This commit is contained in:
parent
cd24af79ee
commit
51c2e5247c
@ -231,7 +231,8 @@ public class FileUpdater extends MiniPlugin
|
||||
{
|
||||
try (FileInputStream stream = new FileInputStream(file))
|
||||
{
|
||||
_jarMd5Map.put(file.getName(), DigestUtils.md5Hex(stream));
|
||||
String fileName = file.getName().replace(UtilServer.getServerName(), "craftbukkit");
|
||||
_jarMd5Map.put(fileName, DigestUtils.md5Hex(stream));
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user