3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-19 22:30:05 +02:00

Fixed some warnings

Dieser Commit ist enthalten in:
TomyLobo 2011-12-08 11:52:04 +01:00
Ursprung d0367bfd5c
Commit 90b062a9d8
2 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -21,7 +21,6 @@ package com.sk89q.worldedit.bukkit;
import org.bukkit.Bukkit;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
import org.bukkit.event.player.PlayerInteractEvent;

Datei anzeigen

@ -224,6 +224,7 @@ public class Chunk {
* @return child tag
* @throws InvalidFormatException
*/
@SuppressWarnings("unchecked")
public static <T extends Tag> T getChildTag(Map<String,Tag> items, String key,
Class<T> expected) throws InvalidFormatException {
if (!items.containsKey(key)) {