(Player player)
| 38 | } |
| 39 | |
| 40 | public static String getModlist(Player player) { |
| 41 | SocketAddress socketAddress = getRemoteAddress(player); |
| 42 | return modlist.get(socketAddress) == null ? "null" : modlist.get(socketAddress); |
| 43 | } |
| 44 | |
| 45 | public static Boolean hasMod(Player player, String modid){ |
| 46 | return getModlist(player).contains(modid); |
no test coverage detected