(Player p)
| 107 | } |
| 108 | |
| 109 | public static TempData remove(Player p) { |
| 110 | TempData data_ = get(p); |
| 111 | |
| 112 | data_.msgData.removeTarget(); |
| 113 | data.remove(p); |
| 114 | |
| 115 | if (localeOrdonedPlayer.get(p.locale).size < 2) localeOrdonedPlayer.remove(p.locale); |
| 116 | else localeOrdonedPlayer.get(p.locale).remove(data_); |
| 117 | |
| 118 | return data_; |
| 119 | } |
| 120 | |
| 121 | public static boolean contains(Player p) { |
| 122 | return data.containsKey(p); |
no test coverage detected