mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 04:02:50 +01:00
28 lines
984 B
Diff
28 lines
984 B
Diff
From 77f73822be50a7878ad4caa37a92fc008aace1c1 Mon Sep 17 00:00:00 2001
|
|
From: md_5 <md_5@live.com.au>
|
|
Date: Mon, 8 Jul 2013 12:37:24 +1000
|
|
Subject: [PATCH] Add 1.6 Potion Effects
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java
|
|
index 900dc7d..2ef2bb2 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java
|
|
@@ -64,6 +64,14 @@ public class CraftPotionEffectType extends PotionEffectType {
|
|
return "POISON";
|
|
case 20:
|
|
return "WITHER";
|
|
+ // Spigot Start
|
|
+ case 21:
|
|
+ return "HEALTH_BOOST";
|
|
+ case 22:
|
|
+ return "ABSORPTION";
|
|
+ case 23:
|
|
+ return "SATURATION";
|
|
+ // Spigot End
|
|
default:
|
|
return "UNKNOWN_EFFECT_TYPE_" + handle.id;
|
|
}
|
|
--
|
|
1.8.1.2
|
|
|