Version-Number increase

Fixed Copyright-Header (*shame*)
Workaround for the Integer/Short conversation bug on bukkit upgrade
This commit is contained in:
Jascha Starke 2012-01-18 15:06:22 +01:00
parent 339bbf3b5c
commit 237ff18841
13 changed files with 30 additions and 13 deletions

View file

@ -1,6 +1,6 @@
name: LimitedCreative name: LimitedCreative
main: de.jaschastarke.minecraft.limitedcreative.LimitedCreativeCore main: de.jaschastarke.minecraft.limitedcreative.LimitedCreativeCore
version: 0.1-beta version: 0.2-beta
softdepend: [WorldGuard] softdepend: [WorldGuard]
commands: commands:
limitedcreative: limitedcreative:

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -67,7 +67,7 @@ public class Items implements Storeable {
Map<String, Object> serialize = s.getValues(false); Map<String, Object> serialize = s.getValues(false);
if (s.contains("enchantments")) if (s.contains("enchantments"))
serialize.put("enchantments", s.getConfigurationSection("enchantments").getValues(false)); serialize.put("enchantments", s.getConfigurationSection("enchantments").getValues(false));
if (s.contains("damage")) if (s.contains("damage") && LimitedCreativeCore.serializeFallBack)
serialize.put("damage", new Integer(s.getInt("damage")).shortValue()); serialize.put("damage", new Integer(s.getInt("damage")).shortValue());
return ItemStack.deserialize(serialize); return ItemStack.deserialize(serialize);
} }

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,6 +1,6 @@
/* /*
* Limited Creative - (Bukkit Plugin) * Limited Creative - (Bukkit Plugin)
* Copyright (C) 2011 Essentials Team * Copyright (C) 2012 jascha@ja-s.de
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View file

@ -1,3 +1,20 @@
/*
* Limited Creative - (Bukkit Plugin)
* Copyright (C) 2012 jascha@ja-s.de
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.jaschastarke.minecraft.utils; package de.jaschastarke.minecraft.utils;
import java.io.File; import java.io.File;