File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ protected function encodePayload(PacketSerializer $out) : void{
82
82
$ out ->putByte ($ this ->updateType ->value );
83
83
if ($ this ->updateType === OverrideUpdateType::SET_INT_OVERRIDE ){
84
84
if ($ this ->intOverrideValue === null ){ // this should never be the case
85
- throw new \LogicException ("PlayerUpdateEntityOverridesPacket with type SET_INT_OVERRIDE require an intOverrideValue to be provided " );
85
+ throw new \LogicException ("PlayerUpdateEntityOverridesPacket with type SET_INT_OVERRIDE requires intOverrideValue to be provided " );
86
86
}
87
87
$ out ->putLInt ($ this ->intOverrideValue );
88
88
}elseif ($ this ->updateType === OverrideUpdateType::SET_FLOAT_OVERRIDE ){
89
89
if ($ this ->floatOverrideValue === null ){ // this should never be the case
90
- throw new \LogicException ("PlayerUpdateEntityOverridesPacket with type SET_INT_OVERRIDE require an intOverrideValue to be provided " );
90
+ throw new \LogicException ("PlayerUpdateEntityOverridesPacket with type SET_FLOAT_OVERRIDE requires floatOverrideValue to be provided " );
91
91
}
92
92
$ out ->putLFloat ($ this ->floatOverrideValue );
93
93
}
You can’t perform that action at this time.
0 commit comments